package com.ambow.dao;

import java.util.List;

import com.ambow.entity.Product;
import com.ambow.utils.PageResults;

public interface ProductDao {

	List<Product> getRand(String hql);

	Product queryOne(String sql);

	PageResults<Product> getPageByFetchedHql(String hql, String countHql, Integer pageNo, Integer pageSize);

}
